package com.sf.ams.entity;
/**
 * 描述：
 * 
 * <pre>HISTORY
 * ****************************************************************************
 *  ID   DATE           PERSON          REASON
 *  1    2017年9月27日      Simba.Hua         Create
 * ****************************************************************************
 * </pre>
 * @author Simba.Hua
 */
public class Response {
	public static final String STATUS_SUCCESS = "success";
	public static final String STATUS_FAIL = "fail";
	private String status;
	private String failReason;
	private Integer currentIndex;
	
	public Response(String status, String failReason, Integer currentIndex) {
		super();
		this.status = status;
		this.failReason = failReason;
		this.currentIndex = currentIndex;
	}
	public Response(String status,String failReason){
		this.status = status;
		this.failReason = failReason;
	}
	public Integer getCurrentIndex() {
		return currentIndex;
	}
	public void setCurrentIndex(Integer currentIndex) {
		this.currentIndex = currentIndex;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getFailReason() {
		return failReason;
	}
	public void setFailReason(String failReason) {
		this.failReason = failReason;
	}
	@Override
	public String toString() {
		return "Response [status=" + status + ", failReason=" + failReason
				+ ", currentIndex=" + currentIndex + "]";
	}
	
}
